//
//  UIImage+PHA.h
//  TestDemo
//
//  Created by fengxijun on 16/6/8.
//  Copyright © 2016年 goappbox. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ImageHash.h"

@interface UIImage (PHA)

-(UIImage*)getSubImage:(CGRect)rect;

-(UIImage*)scaleToSize:(CGSize)size;

- (UIImage *)grayImage;

- (UIImage *)grayImage64;

- (NSString *)imageFingerPrint;

- (NSData *)imageContentData;

- (UIImage *)getImageFromLast25bByte;

@end
